package com.ys.erp.entity.data.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lwj
 * @date 2024/1/5
 */
    
@Data
@TableName(value = "t_cat_cage")
public class CatCage {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "cage_no")
    private String cageNo;

    /**
     * 猫咪编号
     */
    @TableField(value = "cat_code")
    private String catCode;

    /**
     * 门店编号
     */
    @TableField(value = "shop_code")
    private String shopCode;

    /**
     * 笼子主图
     */
    @TableField(value = "cage_pic")
    private String cagePic;

    /**
     * 层数
     */
    @TableField(value = "cage_storey")
    private String cageStorey;

    /**
     * 单元数
     */
    @TableField(value = "cat_unit")
    private String catUnit;

    /**
     * 0:正常展示笼1：猫瘟恢复笼2：隔离治疗笼
     */
    @TableField(value = "cage_type")
    private Integer cageType;

    /**
     * 笼位区域
     */
    @TableField(value = "cage_area")
    private String cageArea;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;



    @TableField(value = "version")
    @Version
    private Integer version;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_time", update = "now()")
    private LocalDateTime updateTime;
}